package com.programming.forum.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
@ApiModel("文章回复表")
public class ArticleReply implements Serializable {

    @ApiModelProperty("主键编号")
    private Long id;

    @ApiModelProperty("关联文章表的文章表Id")
    private Long articleId;

    @ApiModelProperty("回复帖子用户的用户表Id")
    private Long postUserId;

    //暂不实现 楼中楼功能
    private Long replyId;
    private Long replyUserId;

    @ApiModelProperty("回复内容")
    private String content;

    private Integer likeCount;

    @ApiModelProperty("状态")
    private Byte state;

    @ApiModelProperty("是否删除")
    private Byte deleteState;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    //关联User对象
    private User user;

}